package com.lanou3g.ptp.achievement.mapper;

import com.lanou3g.ptp.entity.Like;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LikeMapper {
    void insert(Like like);

    void delete(@Param("diaryId") Long diaryId, @Param("id") Long id);

    Long find(Long id);


}
